import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'


// element plus icons插件
import elementIcons from '@/plugins/element-plus-icons';

import App from './App.vue'
import router from './router'

// 导入axios的配置文件
import '@/plugins/axios';

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

const app = createApp(App)

app.use(pinia)
app.use(router)
app.use(elementIcons);

app.mount('#app')
